package cn.cloud.jianghai.userapi.feign.fallback;

import cn.cloud.jianghai.jianghaicommon.entity.R;
import cn.cloud.jianghai.userapi.dto.UserDto.UserDto;
import cn.cloud.jianghai.userapi.feign.UserApi;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author Jiang.h
 * created 2022/5/30 17:49
 */
@Component
public class UserFallback implements UserApi {

    @Override
    public R<List<UserDto>> findUserList(List<Long> idList) {
        return R.fail("请求失败, 请稍后再试!");
    }
}
